<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  String[][]array = {{"一", "二", "三"}, {"四", "五", "六"}, {"七", "八", "九"}};
%>
<html>
<head>
  <title>Title</title>
</head>
<body>
<h1>二维数组</h1>
<table border="1" cellspacing="0" width="300" height="300">
  <tr align="center">
    <th>第一列</th>
    <th>第二列</th>
    <th>第三列</th>
  </tr>
  <%
    for (int i = 0; i <array.length ; i++) {
  %>
  <tr align="center">
    <%
      for (int j = 0; j <array[i].length ; j++) {
    %>
    <td><%=array[i][j]%></td>
    <%
      }
    %>
  </tr>
  <%
    }
  %>
</table>
</body>
</html>
